package com.mall.dubbo.api;

import com.mall.dubbo.mappers.UmsRoleMapper;
import com.tanhua.model.domain.UmsRole;

import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@DubboService
public class UmsRoleApiImpl implements UmsRoleApi {

    @Autowired
    private UmsRoleMapper umsRoleMapper;

    @Override
    public List<UmsRole> finById(List role_id) {
        return umsRoleMapper.selectBatchIds(role_id);

    }
}
